package daylight;

import java.io.FileWriter;
import java.io.IOException;
import java.util.Scanner;

public class Writer03 {
    public static void main(String[] args) throws IOException {
        Scanner scanner = new Scanner(System.in);
        System.out.println("admin");
        String s = scanner.nextLine();
        System.out.println("ketword");
        String s1 = scanner.nextLine();
        FileWriter fw = new FileWriter("DAY12\\aa.txt");
        fw.write(s);
        fw.write("\r\n");
        fw.write(s1);
        fw.write("\r\n");
        fw.close();

    }
}
